package com.bedpotato.mapper;

import java.util.List;

import com.bedpotato.po.ProxyPO;

public interface ProxyMapper {
	public abstract int insertProxy(ProxyPO proxyPO);

	public abstract ProxyPO getProxy(int id);

	public abstract List<ProxyPO> getAllProxy();

	public abstract List<ProxyPO> getAllProxyWithoutLocation();

	public abstract int updateProxy(ProxyPO proxyPO);

	public abstract int isHaveProxy(ProxyPO proxyPO);

	public abstract int iasHaveProxy(ProxyPO proxyPO);
}
